<template>
	<view style="padding: 1rpx 20rpx;">
		<!-- <nav-bar :backState="1000" type="fixed" :titleCenter="false" bgColor="#fff">{{name}}</nav-bar>
		<view style="margin-left: 230rpx; font-weight: bold; font-size: 40rpx; margin-top: 40rpx;">
			{{name}}
		</view> -->
		<view class="u-content">
			<u-parse :content="privacy_policy"></u-parse>
		</view>
	</view>
</template>

<script>
	const train = require("@/api/train/index.js");
	export default {
		data() {
			return {
				content: ` `,
				name: '',
				privacy_policy: ''
			}
		},
		onLoad() {
			this.AoutUs_s()
		},
		methods: {
			// 获取课节
			async AoutUs_s(train_id) {
				let postData = {
					// type: 0,
					app_id: this.$https.weixinAppId,
					project_id: getApp().globalData.projectId,
				}
				let res = await train.aboutUs(postData)
				if (res.code === 1) {
					console.log(res.data.result.content, '5566')
					this.content = res.data.result.content
					// this.name = res.data.result.name
					this.privacy_policy = res.data.result.privacy_policy

				}
			}
		}
	}
</script>

<style lang="scss" scoped>
	.u-content {
		padding: 24rpx;
	}
</style>
